﻿#pragma once
#include <windows.h>

class ServiceHandle {
public:
  ServiceHandle(SC_HANDLE handle);
  ~ServiceHandle();
  operator SC_HANDLE() const;
  operator bool() const;

private:
  SC_HANDLE m_handle;
};
